projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa2df7
)
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
author
Bozhidar Batsov
<bozhidar@batsov.com>
Fri, 8 Nov 2013 21:41:25 +0000
(23:41 +0200)
committer
Bozhidar Batsov
<bozhidar@batsov.com>
Fri, 8 Nov 2013 21:41:25 +0000
(23:41 +0200)
Fix incorrect case conditions.
lisp/progmodes/ruby-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ruby-mode.el
b/lisp/progmodes/ruby-mode.el
index 7b40bf536f86f2c5260874621e5818d432e0b69f..ef47916bca78276cfb76d7ce876a01b0ff9fe8e8 100644
(file)
--- a/
lisp/progmodes/ruby-mode.el
+++ b/
lisp/progmodes/ruby-mode.el
@@
-655,9
+655,9
@@
explicitly declared in magic comment."
(t (when ruby-insert-encoding-magic-comment
(let ((encoding-magic-comment-template
(case ruby-encoding-magic-comment-style
- (
'
ruby "# coding: %s")
- (
'
emacs "# -*- coding: %s -*-")
- (
'
custom ruby-custom-encoding-magic-comment-template))))
+ (ruby "# coding: %s")
+ (emacs "# -*- coding: %s -*-")
+ (custom ruby-custom-encoding-magic-comment-template))))
(insert
(format encoding-magic-comment-template coding-system)
"\n")))))